package com.zx.dao;

import com.zx.entity.UserEntity;

import java.util.List;

/**
 * @ProjectName: myjdbc
 * @Package: com.zx.dto
 * @ClassName: SysUserMapper
 * @Author: 1
 * @Description: 1
 * @Date: 2021/9/6 19:23
 */
public interface SysUserMapper {

    //查询所有用户
    public List<UserEntity> findAll() throws Exception;


    //根据条件进行用户查询
    public UserEntity findByCondition(UserEntity user) throws Exception;

    //新增
    int insertEntity(UserEntity userEntity);

    //修改
    int updateById(UserEntity userEntity);

    //移除
    int deleteById(UserEntity userEntity);
}
